import 'package:json_annotation/json_annotation.dart';

part 'response_result.g.dart';

@JsonSerializable(nullable: false)
class Result {

  @JsonKey(name: 'code')
  String code;
  @JsonKey(name: 'msg')
  String msg;
  @JsonKey(name: 'data')
  Object data;

  Result({this.code,this.msg,this.data});

  factory Result.fromJson(Map<String, dynamic> json) => _$ResultFromJson(json);

  Map<String, dynamic> toJson() => _$ResultToJson(this);
}